<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
<script type="text/javascript">
	function display(flag){
		//alert(flag);
		if(flag == 'show'){
			document.getElementById("di").style.display='inline';
		}else{
			document.getElementById("di").style.display='none';
		}
	}

	function searchCheck(){
		var obj = document.search;
		if(!obj.pass.value){
			alert('pass Check');
			obj.pass.focus();
			return;
		}
		obj.submit();
	}
</script>
</head>
<body>
	<form action="passWordConfirm.jsp" method="post" name="search">
	<input type="button" value="ClickShow" onclick="display('show')" />
	<input type="button" value="ClickHide" onclick="display('hide')" />
	<div style="display: none;position: absolute;left: 100px; top: 200px; right: 300px; width: 300px; height: 500px" id="di">
		<input type="password" name="pass" />
		<input type="hidden" name="job" value="<%=request.getParameter("job") %>"/>
		<input type="hidden" name="no" value="<%=request.getParameter("no") %>"/>
		<input type="button" value="Search" onclick="searchCheck()"/>
	</div>	
	</form>
</body>
</html>